Exploiting Semantics and Speculation for Improving the Performance of Read-only Transactions

نویسندگان

  • Thirumalaisamy Ragunathan
  • P. Krishna Reddy
چکیده

A read-only transaction (ROT) does not modify any data. Efforts are being made in the literature to improve the performance of ROTs without correctness and data currency issues. The widely used twophase locking protocol (2PL) processes the transactions without any correctness and data currency issues. However, the performance of 2PL deteriorates with data contention. Snapshot isolation (SI)-based protocols proposed in the literature improve the performance of ROTs, but they compromise on correctness and data currency issues. Speculative locking (SL) protocols are proposed in the literature for improving the performance of ROTs by carrying out speculative executions only for ROTs and following 2PL for update transactions. In SL-based protocols, update transactions are blocked if they conflicting with ROTs. In this paper, we have proposed an improved approach to improve parallelism among update transactions and ROTs by exploiting a new notion called “compensatability”. In this protocol, an ROT which can be “compensatable” can complete the execution and carry out compensating operation to incorporate the effect of conflicting update transactions. As a result, the parallelism is improved over SL protocols as the update transactions which are conflicting with ‘compensatable’ ROTs need not block. In this paper, we have proposed a protocol by exploiting both “compensatability” property of ROTs and speculation. The simulation results show that the proposed protocol improves the performance by carrying out less number of speculative executions. Further, the proposed protocol does not violate serializability criteria.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Speculation-based protocols for improving the performance of read-only transactions

In the emerging web databases and e-commerce scenario, information systems have to meet intensive information requirements from a large number of users. These information systems receive both update transactions (UTs) and read-only transactions (ROTs). A UT contains both read and write operations and an ROT contains only read operations. Designing efficient protocols to process ROTs is a resear...

متن کامل

Improving the Performance of Read-Only Transactions Through Speculation

A read-only transaction (ROT) does not modify any data. The main issues regarding processing ROTs are correctness, data currency and performance. Two-phase Locking (2PL) protocol is widely used for concurrency control with serializabilty as correctness criteria. Even though 2PL processes ROTs correctly with no data currency related issues, the performance deteriorates as data contention increas...

متن کامل

Extending Speculation to Process Distributed Read-Only Transactions (ROTs) and Analysis of Semantics-based ROTs Processing Protocol with Benchmarks

In the internet environment, computers-based information systems are being employed to maintain large amounts of information to meet different users’ information requirements. The users interact with the system by inserting/updating/querying the required information. The information systems process the user requests by executing the update transactions (UTs) for inserts/updates and readonly tra...

متن کامل

Performance Enhancement of Read-only Transactions Using Speculative Locking Protocol

A read-only transaction (ROT) does not modify any data. The main issues regarding processing ROTs are correctness, data currency and performance. Two-phase Locking (2PL) protocol is widely used for concurrency control with serializabilty as correctness criteria. Even though 2PL processes ROTs correctly with no data currency related issues, the performance deteriorates as data contention increas...

متن کامل

Parallelizing Database Systems using Thread Level Speculation

Improving the performance of a program by splitting it into threads is hard, since a parallel machine model is more complex than a sequential one. Thread Level Speculation (TLS) allows a program to be parallelized while retaining sequential program semantics. In the past TLS has been shown to make automatic parallelization of programs much easier—in this paper we show that TLS makes manual para...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008